package com.fourforfo.fourmall.order.feign;

import com.fourforfo.fourmall.order.vo.CartItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @program:
 * @description:
 * @author: fourforfo
 * @email: fourforfo@gmail.com
 * @create: 2022-08-31 16:55
 **/
@FeignClient("fourmall-cart")
public interface CartFeignService {

    @ResponseBody
    @GetMapping("/currentUserCartItems")
    List<CartItemVO> currentUserCartItems();
}
